﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
//using WeProjectsModel;
namespace WeProjects.Models
{
    public class NewsModel
    {
        public NewsModel(int id)//Editing
        {
            this.ID = id;
        }
        public NewsModel() //Creating
        { }
        public int ID { get; set; }
        public string Title { get; set; }
        [UIHint("tinymce_jquery_full"), AllowHtml]
        //[DataType(DataType.MultilineText)]
        public string NewsContent { get; set; }
        public DateTime? PublishDate { get; set; }
        public int? MemberID { get; set; }
        public int ProjectID { get; set; }
        public int? isPublic { get; set; }
        public int? isPublished { get; set; }
        public string MemberDispalyName { get; set; }
        public string ProjectTitle { get; set; }
        public string ParentProjectTitle { get; set; }
        public string ImageData { get; set; }
        public List<TagVModel> Tags { get; set; }
    }
}